﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AotoLoadScence : MonoBehaviour
{
    [SerializeField]private string ScenceName="";
    [SerializeField]private float WaitTime=0;

    void Start()
    {
        Invoke("LoadScence", WaitTime);
    }

    private void LoadScence()
    {
        LoadScene_Async.LoadScene(ScenceName);
    }

}
